package cn.fbs.enums;

public enum MediaEnum {
    IMAGE("图像",2),VIDEO("视频",3),DATA("资料",1);

    private Integer index;
    private String name;

    MediaEnum(String name, Integer index) {
        this.name = name;
        this.index = index;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }
}
